using MediatR;
using RBAC.ErrorCode;

namespace RBAC.Write.Api.Application.Command.ArrivalInspection
{
    /// <summary>
    /// 上传到货检验附件 命令
    /// </summary>
    public class UploadArrivalInspectionAttachmentCommand : IRequest<APIResult<string>>
    {
        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get; set; } = string.Empty;
        /// <summary>
        /// 文件内容
        /// </summary>
        public byte[] FileBytes { get; set; } = System.Array.Empty<byte>();
        /// <summary>
        /// 文件类型
        /// </summary>
        public string ContentType { get; set; } = string.Empty;
    }
}
